package com.ruoyi.jiaopei.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.jiaopei.domain.TbRecord;
import com.ruoyi.jiaopei.domain.TbStudent;
import com.ruoyi.jiaopei.domain.vo.TbRecordVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.jiaopei.domain.vo.TbStudentVo;
import org.apache.ibatis.annotations.Param;

/**
 * 核销记录Mapper接口
 *
 * @author macy
 * @date 2024-04-11
 */
public interface TbRecordMapper extends BaseMapperPlus<TbRecordMapper, TbRecord, TbRecordVo> {

    @DataPermission({
        @DataColumn(key = "userName", value = "t.teacher_id")
    })
    Page<TbRecordVo> selectPageList(@Param("page") Page<TbRecordVo> page, @Param(Constants.WRAPPER) Wrapper<TbRecord> queryWrapper);



}
